<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
<%@ include file="/common/taglibs.jsp"%>
<script type="text/javascript" src="${ctx }/scripts/rollbook/initMenu.js"></script>

<menu:useMenuDisplayer name="Velocity" config="cssHorizontalMenu.vm" permissions="rolesAdapter">
	<ul class="menu">
		<li>
		    <c:choose>
				<c:when test="${currentRole.roleType.id ne 4 }">
		    		<a class="img_menu1" id="MainMenu" href="${ctx }/mainMenu.html" title="返回首页">返回首页</a>
				</c:when>
				<c:otherwise>
		    		<a class="img_menu1" id="MainMenu" href="${ctx }/notepads.html?actionType=4" title="返回首页">返回首页</a>
				</c:otherwise>
			</c:choose>
		</li>
	    <menu:displayMenu name="UserInfoMenu"/>
	    <menu:displayMenu name="EditUserMenu"/>
	    <menu:displayMenu name="OfficeMenu"/>
	    <menu:displayMenu name="HomeMenu"/>
	    <menu:displayMenu name="CompanyBindMenu"/>
	    <menu:displayMenu name="EmployeeBindMenu"/>
	    <menu:displayMenu name="GroupSetMenu"/>
	</ul>
</menu:useMenuDisplayer>